\documentclass{standalone}
\usepackage{tikz}
\usepackage{ctex,siunitx}
\setCJKmainfont{Noto Serif CJK SC}
\usepackage{tkz-euclide}
\usepackage{amsmath}
\usepackage{wasysym}
\usetikzlibrary{patterns, calc}
\usetikzlibrary {decorations.pathmorphing, decorations.pathreplacing, decorations.shapes,}
\begin{document}
\small
\begin{tikzpicture}[>=latex,xscale=0.6]
  % \useasboundingbox(0.9,0)rectangle(5.1,5);
  \draw[->](0,0)node[left]{$O$}--(13,0);
  \draw[->](0,-1)--(0,1)node[right]{$i$};
  \draw [very thick] plot[domain=0:3.1416*4, samples=1000] function{0.5*cos(4.5*x)} ;
\end{tikzpicture}
\end{document}